import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘柄华
 * Date: 2022-05-29
 * Time: 9:27
 */
public class TestDemo02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            String s = sc.nextLine();
            char[] arr = s.toCharArray();
            int len = arr.length;
            StringBuffer sb = new StringBuffer();
            for (int i = 0; i < len; i++) {
                char c = arr[i];
                if(c!=' '){
                    if(c>'E'){
                        c = (char)((int)c-5);
                    }else{
                        c = (char)((int)c+21);
                    }
                }
                sb.append(c);
            }
            System.out.println(sb);
        }
    }
}
